﻿using BCCommon.Extensions;
using BCCommon.TMS.RedPacket;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.RedPacket.RedPacketReceive
{
    /// <summary>
    /// 红包领取记录
    /// </summary>
    public class RedPacketReceiveDto
    {
        /// <summary>
        /// 红包领取记录id
        /// </summary>
        public long RedPacketReceiveId { get; set; }
        /// <summary>
        /// 红包编号
        /// </summary>
        public int RedPacketNumber { get; set; }
        /// <summary>
        /// 用户Id(领取人id)
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 用户名称(领取人名称)
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 红包Id
        /// </summary>
        public long RedPacketId { get; set; }
        /// <summary>
        /// 红包类型Id
        /// </summary>
        public long RedPacketTypeId { get; set; }
        /// <summary>
        /// 红包类型
        /// </summary>
        public string RedPacketType { get; set; }
        /// <summary>
        /// 红包金额
        /// </summary>
        public decimal RedPacketAmount { get; set; }
        /// <summary>
        /// 获取方式
        /// </summary>
        public GrundlagenTypeEnum GrundlagenType { get; set; }
        /// <summary>
        /// 获取方式字符串
        /// </summary>
        public string GrundlagenTypeStr => GrundlagenType.GetDescriptionString();
        /// <summary>
        /// 红包姓名
        /// </summary>
        public string RedPacketName { get; set; }
        /// <summary>
        /// 适用地编码
        /// </summary>
        public long AgentRecordId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 省编码
        /// </summary>
        public string ProvinceCode { get; set; }
        /// <summary>
        /// 市编码
        /// </summary>
        public string CityCode { get; set; }
        /// <summary>
        /// 区编码
        /// </summary>
        public string CountyCode { get; set; }
    }
}
